﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/LocalData")]
    public class LocalData
    {
        public LocalData()
        {
            CellShifts = new List<CellShiftItem>();
            BraiderProducts = new List<BraiderProductItem>();
            ProductionHistories = new List<ProductionHistoryItem>();
            ProductionHistoryDowntimeEvents = new List<ProductionHistoryDowntimeEventItem>();
        }

        [DataMember(IsRequired = true)]
        public IList<CellShiftItem> CellShifts { get; set; }

        [DataMember(IsRequired = true)]
        public IList<BraiderProductItem> BraiderProducts { get; set; }

        [DataMember(IsRequired = true)]
        public IList<ProductionHistoryItem> ProductionHistories { get; set; }

        [DataMember(IsRequired = true)]
        public IList<ProductionHistoryDowntimeEventItem> ProductionHistoryDowntimeEvents { get; set; }

        [DataMember(IsRequired = true)]
        public CellStatusItem CellStatus { get; set; }
    }
}
